<admintpl file="header_adminlte" />
</head>

	<body>

		<div class="row js-check-wrap">
			<div class="col-xs-12">
				<ul class="nav nav-tabs" style="margin-bottom:10px;">
					<li class="active">
						<a href="{:U('AdminMacro/hotWeibo')}">热门微博100条</a>
					</li>
					<li>
						<a href="{:U('AdminMacro/hotSearch')}">热门搜索列表100条</a>
					</li>
				</ul>

				<div class="box-body table-responsive no-padding">
					

					<form class="js-ajax-form" method="post">

						<div class="table-actions" style="margin-bottom: 10px;">
							<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('AdminMacro/hotWeiboBat','type=order')}">排序</button>
							<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('AdminMacro/hotWeiboBat','type=delete')}">删除</button>
							<a  class="btn btn-danger btn-small js-ajax-submit" href="{:U('AdminMacro/refreshHotWeibo')}">刷新热门1周数据微博100条</a>
							<!--<span>备注：刷新微博后 删除 weibo_hot 表，再取出 weibo表100条数据，到 weibo_hot表</span>-->
						</div>
						<table class="table table-hover table-bordered table-list">
							<thead>
								<tr>
									<th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
									<th>排序</th>
									<!--<th>自增ID</th>-->
									<th>微博ID</th>
									<th width="50%">微博内容</th>
									<!--TODO<th>结束时间</th>-->
								</tr>
							</thead>
			
							<volist name="weibo_host_list" id="v">
							<tr>
								<td style="vertical-align:middle;"><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$v['hot_id']}" title="ID:{$v['hot_id']}"></td>
								<td><input name="orderby[{$v['hot_id']}]" class="input input-order" type="text" size="3" value="{$v['orderby']}"></td>
								<!--<td>{$v.hot_id}</td>-->
								<td>{$v.weibo_id}</td>
								<td>{$v.content}</td>
								<!--<td>{$v.expiry|date="Y-m-d H:i:s",###}</td>-->
							</tr>
							</volist>

							<tfoot>
								<tr>
									<th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></label></th>
									<th>排序</th>
									<!--<th>自增ID</th>-->
									<th>微博ID</th>
									<th width="50%">微博内容</th>
									<!--<th>结束时间</th>-->
								</tr>
							</tfoot>
						</table>

						<div class="table-actions" style="margin-bottom: 10px;">
							<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('AdminMacro/hotWeiboBat','type=order')}">排序</button>
							<button class="btn btn-primary btn-small js-ajax-submit" type="submit" data-action="{:U('AdminMacro/hotWeiboBat','type=delete')}">删除</button>
							<a  class="btn btn-danger btn-small js-ajax-submit" href="{:U('AdminMacro/refreshHotWeibo')}">刷新热门微博100条</a>
							<!--<span>备注：刷新微博后 删除 weibo_hot 表，再取出 weibo表100条数据，到 weibo_hot表</span>-->
						</div>

						
				
					</form>
				</div>
				<!-- /.box-body -->
			</div>
			<!-- /.box -->
		</div>


	</body>
	<script src="__PUBLIC__/js/common.js"></script>
	<script src="__PUBLIC__/js/newthink.js"></script>

</html>